﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
//using System.ServiceModel;
using System.Text;
using com.Bliss.Infrastructure;

namespace com.Bliss.Services
{
    // NOTE: You can use the "Rename" command on the "Refactor" menu to change the interface name "IUserService" in both code and config file together.
    //[ServiceContract]
    public interface IPostService
    {
        //[OperationContract]
        TypedCollectionResponse<com.Bliss.Post> GetPosts(int companyId);
        TypedCollectionResponse<Bliss.Post> GetPrivatePosts(int userId);
        TypedCollectionResponse<com.Bliss.Post> GetChildPosts(int parentID);
        void SendPrivateMessage(int fromUserID, int? parentPostID, int? toUserID, string Message);
        void Post(int fromUserID, int? toPostID, string Message);
        void DeletePost(int postID);
    }
}
